package com.example.springbootdemo2.proer;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

// yyl.test.config = qalfhskf,fff,gg,h,h,h,h
@EnableConfigurationProperties(MyProperty.class)
@ConfigurationProperties(prefix = "yyl.test")
public class MyProperty {

    private String config;// yyl.test.config =""

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }
}
